#pragma once

#include "Power.h"
#include "Player.h"
#include <ctime>
class Ice : public Power
{
private:
	float timer;
	float initTime;
	float currentFreezingTime;

	const static float FREEZING_TIME_LEVEL1;
	const static float FREEZING_TIME_LEVEL2;
	const static float FREEZING_TIME_LEVEL3;

	const static float PERCENT_SPEED_LOST;

public:

	void Initialize(int level);
	void Update(Player player);
	void Destroy();

	void StartFreezingTimer();
	void ResetFreezingTimer();
	bool IsFreezingTimerStarted();

};